/**
 *
 * Copyright (C) 2008  Igor Vdovichenko
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * Though a sincere effort has been made to deliver a professional,
 * quality product,the library itself is distributed WITHOUT ANY WARRANTY;
 * See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 */
package com.vin.scriptutils.utils.re;

import com.vin.scriptutils.utils.ScriptTextProvider;

/**
 *
 * @author igor
 */
public abstract class ReScriptExecutor {

    private final ScriptTextProvider scriptTextProvider;

    public ReScriptExecutor(String pathToScripts) {
        this.scriptTextProvider = new ScriptTextProvider(pathToScripts);
    }

    ScriptTextProvider getScriptTextProvider() {
        return this.scriptTextProvider;
    }

    abstract public void executeScript(String scriptFileName);
}
